home *** CD-ROM | disk | FTP | other *** search
/ Amiga CD-Sensation: Golden Games / Amiga CD-Sensation - Ausgabe 2 - Golden Games (1996)(GTI - Schatztruhe)(DE)[!].iso / Brain Activity / Rubik / source / blurb.c next >
C/C++ Source or Header  |  1990-08-11  |  1KB  |  61 lines

  1. /*    blurb for rubik    */
  2.  
  3. extern struct Window *window,*wnd1,*wnd2;
  4. struct Window *w;
  5.  
  6. void clean()
  7.     {
  8.     if (window == wnd1)
  9.         w = wnd2;
  10.     else
  11.         w = wnd1;
  12.     
  13.     SetAPen (w->RPort,0);
  14.     SetDrMd (w->RPort,JAM1);
  15.     RectFill(w->RPort,2,10,190,198);
  16.     SetAPen (w->RPort,7);
  17.     }
  18.  
  19. void blurb (short line, char *p)
  20.     {
  21.     Move (w->RPort,2,20+10*line);
  22.     Text (w->RPort,p,strlen(p));
  23.     }
  24.  
  25. void helpblurb()
  26.     {
  27.     clean();
  28.     blurb(1,"Use SETUP mode to paint");
  29.     blurb(2,"the cube till it looks");
  30.     blurb(3,"like yours.  Then click");
  31.     blurb(4,"SOLVE.");
  32.     blurb(5,"In NORMAL mode, you can");
  33.     blurb(6,"twist a face to the");
  34.     blurb(7,"left or right, by");
  35.     blurb(8,"pointing at it, and");
  36.     blurb(9,"clicking the left or");
  37.     blurb(10,"right mouse button.");
  38.     blurb(12,"The gadgets at the top");
  39.     blurb(13,"right of the screen");
  40.     blurb(14,"rotate the whole cube.");
  41.     blurb(16,"CLICK TO CONTINUE....");
  42.     }
  43.  
  44. void aboutblurb()
  45.     {
  46.     clean();
  47.     blurb(1,"Written by Martin Round");
  48.     blurb(2,"Halesowen England.");
  49.     blurb(4,"V 1.0  Public Domain.");
  50.     blurb(6,"Contact me on these BBs");
  51.     blurb(7,"MABBS:    021-444-8972");
  52.     blurb(8,"Plug Ole: 021-472-0256");
  53.     blurb(9,"AMLINK:   021-778-5868");
  54.     blurb(11,"Does anyone have some");
  55.     blurb(12,"code to solve cubes in");
  56.     blurb(13,"sixty moves or less?");
  57.     blurb(16,"CLICK TO CONTINUE....");
  58.     }
  59.  
  60.  
  61.